package com.ruoyi.project.system.lotto.mapper;

import com.ruoyi.project.system.lotto.domain.UserLogs;
import com.ruoyi.project.system.lotto.domain.UserLogsExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserLogsMapper {
    long countByExample(UserLogsExample example);

    int deleteByExample(UserLogsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserLogs record);

    int insertSelective(UserLogs record);

    List<UserLogs> selectByExample(UserLogsExample example);

    UserLogs selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UserLogs record, @Param("example") UserLogsExample example);

    int updateByExample(@Param("record") UserLogs record, @Param("example") UserLogsExample example);

    int updateByPrimaryKeySelective(UserLogs record);

    int updateByPrimaryKey(UserLogs record);

    UserLogs getByPhone(@Param("phone") String phone);

    UserLogs getByOpenid(@Param("openid") String openid);
}